<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>后台管理 -- Talking</title>
<link rel="stylesheet" href="./static/css/frame.css" />
<script src="./static/js/jquery-1.3.min.js"></script>
<script src="./static/js/common.js"></script>
</head>

<body>
<div id="content">
    <div class="title">系统 » 数据备份</div>
    <div class="main">
        <h3>数据备份</h3>
        <form action="db_export.php" name="form" method="post">
        <table cellpadding="0" cellspacing="0" class="list">
            <tbody>
                <tr>
                    <td width="30">&nbsp;</td>
                    <td width="100">数据表名</td>
                    <td align="center">说明</td>
                    <td width="40" align="center">记录数</td>
                    <td width="80" align="right">大小</td>
                </tr>
                {{section name=n loop=$array}}
                <tr>
                    <td align="center"><input type="checkbox" name="tables[ ]" value="{{$array[n].Name}}" checked="checked" /></td>
                    <td>{{$array[n].Name}}</td>
                    <td>{{$array[n].Comment}}</td>
                    <td align="center">{{$array[n].Rows}}</td>
                    <td align="right">{{DataConverter::format($array[n].Data_length)}}</td>
                </tr>
                {{/section}}
                <tr>
                    <td align="center">&nbsp;</td>
                    <td colspan="4">
                        <a href="javascript:void(0)" onclick="selectAll()">全选</a>
                        &nbsp;&nbsp;&nbsp;
                        <a href="javascript:void(0)" onclick="inverse()">反选</a>
                        &nbsp;&nbsp;&nbsp;
                        <a href="javascript:void(0)" onclick="cancelAll()">取消</a>
                    </td>
                </tr>
            </tbody>
        </table>
        <p>
            <input type="submit" class="button_submit" value="备份" name="submit" />
            <span>{{$tip}}</span>
        </p>
        </form>
    </div>
</div>
</body>
</html>
